package com.qingke.note.pojo;

import java.util.List;

public class Label {
    private Integer id;

    private String name;

    private Integer typeId;
    
    private Type type;
    
    private List<Note> notes;
    
    private String effective;
    
    
    public String getEffective() {
		return effective;
	}



	public void setEffective(String effective) {
		this.effective = effective;
	}



	@Override
	public String toString() {
		return "[名称 " + name + " 标签类型 " + type + "]";
	}

    
    
	public List<Note> getNotes() {
		return notes;
	}



	public void setNotes(List<Note> notes) {
		this.notes = notes;
	}



	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
}